package com.hcxy.filetransform.widget;

import java.awt.Color;
import java.awt.FlowLayout;

import javax.swing.JPanel;

import com.hcxy.filetransform.Constant;

public class LogContainer extends JPanel {
	public LogContainer(int isPost) {
		//setSize(600,100);
		setBackground(new Color(50,50,50));
		if (Constant.FLAG_POST==isPost) {
			setLayout(new FlowLayout(FlowLayout.RIGHT));
		}else if (Constant.FLAG_REVICE==isPost) {
			setLayout(new FlowLayout(FlowLayout.LEFT));
		}
	}
	
}
